Carbon


CollapseAllWindows

Header: MacWindows.h Carbon status: Supported

Collapses or expands all collapsable windows in an application.

OSStatus CollapseAllWindows (
    Boolean collapse
);
Parameter descriptions
collapse

Set to true to collapse all windows in the application. Set to false to expand all windows in the application.

function result

A result code.

DISCUSSION

Only window definition functions that return the feature bit kWindowCanCollapse in response to a kWindowGetFeatures message support the CollapseAllWindows function; see GetWindowFeatures.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)